package com.company.cloud.club.modules.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.company.cloud.club.modules.db.dao.FriendDynamicMapper;
import com.company.cloud.club.modules.db.domain.FriendDynamic;
import com.company.cloud.club.modules.service.FriendDynamicService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Set;

@Service
public class FriendDynamicServiceImpl extends ServiceImpl<FriendDynamicMapper, FriendDynamic> implements FriendDynamicService {

    @Override
    public List<FriendDynamic> selectMyFriend(Set<String> collList, Integer begin, Integer pageSize) {
        return baseMapper.selectMyFriend(collList, begin, pageSize);
    }

    @Override
    public int countMyFriend(Set<String> collList) {
        return baseMapper.countMyFriend(collList);
    }

}
